#include <gtest/gtest.h>
#include <base/Mem.h>
#include <base/Foo.h>

extern Foo* getFoo(char* ptr);

struct Test1 : ::testing::Test
{

	char buff[100];
};

TEST_F(Test1, should_cons_Foo_in_ub_we_get)
{
    Foo* ptr = getFoo(buff);
    ASSERT_TRUE(0xfe == ptr->getValue());
}

